
<table>
	<tr align="center">
		<th width="40">序号</th>
		<th>流水号</th>
		<th>事由</th>
		<th>地址</th>
		<th>类型</th>
		<th>方式</th>
		
		<th>数量</th>
		<th>毛重(公斤)</th>
		<th>申请人</th>
	</tr>
	{[foreach name=outer key=key item=item from=$requirement]} 
	{[assign var="no" value="`$key+1`"]}
	{[assign var="t1" value="`$t1+$item.quantity`"]}
	{[assign var="t2" value="`$t2+$item.weight2`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.name|truncate:21:"...":true]}</td>
		<td>{[$item.address|truncate:31:"...":true]}</td>
		<td>{[$item.type_t]}</td>
		<td>{[$item.way_t]}</td>
		
		<td>{[$item.quantity|string_float]}</td>
		<td>{[$item.weight2|string_float]}</td>
		<td>{[$item.emp_t]}</td>
	</tr>
	{[/foreach]}
	<tr align="center">
		<td colspan="6"></td>
		<td>{[$t1|string_float]}</td>
		<td>{[$t2|string_float]}</td>
		<td></td>
	</tr>
</table>
